import request from '@/utils/request'

// 查询记录
export function getRecord() {
  return request({
    url: '/model/exchange',
    method: 'get'
  })
}

// 添加记录
export function saveRecord(data) {
  return request({
    url: '/model/exchange',
    method: 'post',
    data: data
  })
}
// 充值
export function qrCodeupload(data) {
  return request({
    url: '/model/qrCode/upload',
    method: 'post',
    data: data
  })
}
export function qrCodeinfo() {
  return request({
    url: '/model/qrCode/info',
    method: 'get',
  })
}

